From eddde6561cb81fdf442a9af0928785de135f4f3f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 1 Jun 2010 06:45:44 +0100 Subject: [PATCH] xen: update_runstate_area for 32 bit PV on HVM guests The current implementation of update_runstate_area is unable to handle 32 bit PV on HVM guests because the check is_pv_32on64_domain doesn't cover that case. This patch fixes it. Signed-off-by: Stefano Stabellini --- xen/arch/x86/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index b483612a4f..4dc081fa03 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1315,7 +1315,7 @@ static void update_runstate_area(struct vcpu *v) return; #ifdef CONFIG_COMPAT - if ( is_pv_32on64_domain(v->domain) ) + if ( has_32bit_shinfo(v->domain) ) { struct compat_vcpu_runstate_info info; -- 2.30.2